using System;
using animeshell;

namespace animeshell
{
	public class SelectOS : MainWindow
	{
		
		public SelectOS()
		{
			
		}
		
		//*******************************************************************
		// Select the current environnement and modify the configuration file
		//*******************************************************************
		public static void SelectEnv()
		{
			//Variable
			string CurrentOS = null;
			OperatingSystem os = Environment.OSVersion;
			CurrentOS = os.ToString();
			if (CurrentOS[0] == 'M')
			{
				// Windows
				//m_Dossier = "/home//.animeshell/"
				Dossier = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles)+"\\animeshell";
				
			}
			else
			{
				
				if (CurrentOS[0] == 'U')
				{
					// Linux
				}
				else
				{
					// *BSD, Sun??? => erreur
				}
			}
		}
	}
}
